/**********************************************************/
/* Goblin Defense - A tower defense game for Wii Homebrew */
/* Copyright (C) 2009 Ricardo Bueno Cordeiro              */
/* Licensed under de GNU General Public License v2.0      */
/*   See license_gplv2.txt for detalis                    */
/**********************************************************/

#ifndef __PATH_H_
#define __PATH_H_

#include <gccore.h>

#include "path_def.h"

typedef struct {
	int point;
	int segment;
	int step;
} PATH_POS;

void path_advance_1_step(PATH *path, PATH_POS *pos);
void path_get_coordinates(PATH *path, PATH_POS *pos, f32 *x, f32 *y);
void path_new_pos(PATH *path, PATH_POS *pos);

#endif
